<template>
  <div style="width: 1000px">
    <el-radio-group v-model="labelPosition" size="small">
      <el-radio-button label="left">左对齐</el-radio-button>
      <el-radio-button label="right">右对齐</el-radio-button>
      <el-radio-button label="top">顶部对齐</el-radio-button>
    </el-radio-group>
    <div style="margin: 20px;"></div>
    <el-form :label-position="labelPosition" label-width="80px" :model="column">
      <el-form-item label="栏目编号">
        <el-input v-model="column.columnId"></el-input>
      </el-form-item>
      <el-form-item label="栏目类型">
        <el-input v-model="column.columnType"></el-input>
      </el-form-item>
      <el-button  @click="turnPage(columnId,'list')">返回</el-button>
    </el-form>
  </div>
</template>

<script>
  import {SystemManageService} from '../SystemManageService'
    export default {
        name: "AddColumn",
      data() {
        return {
          labelPosition: 'right',
          column: []
        }
      },
      methods: {
        addColumn() {
          console.log(this.column);
          SystemManageService.addColumn(this.column).then(res => {
          });
        }
      }
    }
</script>

<style scoped>

</style>
